<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="ctl00_ctl00_Head1">
<base href="<%=basePath%>" />
<title>CSDN博客 | 写博客</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script language="javascript" type="text/javascript"
	src="http://beta.hi.csdn.net/source/script_cookie.js"></script>
<script language="javascript" type="text/javascript"
	src="http://beta.hi.csdn.net/source/script_common.js"></script>
<script language="javascript" type="text/javascript"
	src="http://beta.hi.csdn.net/source/script_menu.js"></script>
<script language="javascript" type="text/javascript"
	src="http://beta.hi.csdn.net/source/script_ajax.js"></script>

<script language="javascript" type="text/javascript"
	src="http://beta.hi.csdn.net/source/script_face.js"></script>
<script language="javascript" type="text/javascript"
	src="http://beta.hi.csdn.net/source/script_manage.js"></script>
<link rel="shortcut icon"
	href="http://beta.hi.csdn.net/image/favicon.ico" />
<link rel="Stylesheet" type="text/css"
	href="http://hi.images.csdn.net/css/print.css" media="print" />
<link rel="Stylesheet" type="text/css"
	href="http://hi.images.csdn.net/css/blog/styles.css"
	media="screen, projection" />
<script src="http://hi.images.csdn.net/js/public/CommonNew.js"
	type="text/javascript"></script>
<script src="http://hi.images.csdn.net/js/public/jquery-1.2.3.pack.js"
	type="text/javascript"></script>


<!-- TinyMCE -->
<script type="text/javascript"
	src="http://hi.images.csdn.net/js/blog/SyntaxHighlighter/jquery.highlighter.js"></script>

<script type="text/javascript"
	src="http://hi.images.csdn.net/js/blog/SyntaxHighlighter/highlighter.js"></script>
<script type="text/javascript"
	src="http://hi.images.csdn.net/js/blog/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
    tinyMCE.init({
        mode: "textareas",
        editor_selector: "mceEditor",
        theme: "advanced",
        plugins: "syntaxhl,safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,iespell,insertdatetime,preview,searchreplace,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,inlinepopups",
        // Theme options
        theme_advanced_buttons1: "styleprops,formatselect,fontselect,fontsizeselect,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,|,outdent,indent,blockquote,|,forecolor,backcolor",
        theme_advanced_buttons2: "advhr,|,newdocument,|,cut,copy,paste,pastetext,pasteword,|,search,replace,|,undo,redo,|,link,unlink,anchor,image,cleanup,code,syntaxhl,|,hr,removeformat,visualaid,|,sub,sup,|,insertdate,inserttime,preview,|,fullscreen",
        theme_advanced_buttons3: "",
        theme_advanced_buttons4: "",
        theme_advanced_toolbar_location: "top",
        theme_advanced_toolbar_align: "left",
        theme_advanced_statusbar_location: "bottom",
        theme_advanced_resizing: true,
        remove_linebreaks: false,
        extended_valid_elements: "textarea[cols|rows|disabled|name|readonly|class]",
        content_css: "http://hi.images.csdn.net/js/blog/tiny_mce/css/word.css",
        language: "zh"
    });
    function InsertImg(imgHtml) {
        tinyMCE.execCommand('mceInsertContent', false, imgHtml);
    }
    $(document).ready(function() {
        window.onbeforeunload = function() {
            try {
                return "请确认你的文章是否已保存。";
            } catch (e) { }
        }
    });
</script>

<script type="text/javascript" src="js/autosave.js?v=20091222"></script>
<link rel="Stylesheet" type="text/css" href="css/autosave.css"
	media="screen, projection" />
<!-- /TinyMCE -->

</head>
<body id="home">
<script language="javascript" type="text/javascript"
	src="http://beta.hi.csdn.net/js/header.php"></script>


<form action="articleManage/articleManager!add" method="post">
<div><input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS"
	value="" /> <input type="hidden" name="__EVENTTARGET"
	id="__EVENTTARGET" value="" /> <input type="hidden"
	name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" /> <input
	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qjojZDliLDliIbnsbvpppbpobUVDQI5MQIzNQIzNgI0NgI4MAI0NwI1MQI1MwI0NAI1NgI1OAI0NQAUKwMNZ2dnZ2dnZ2dnZ2dnZ2RkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYEBTljdGwwMCRjdGwwMCRjcGhDb250ZW50JGNwaERvYyRFbnRyeUVkaXRvcjEkQ2F0ZWdvcnlMaXN0JDAFOWN0bDAwJGN0bDAwJGNwaENvbnRlbnQkY3BoRG9jJEVudHJ5RWRpdG9yMSRDYXRlZ29yeUxpc3QkMQU5Y3RsMDAkY3RsMDAkY3BoQ29udGVudCRjcGhEb2MkRW50cnlFZGl0b3IxJENhdGVnb3J5TGlzdCQxBTpjdGwwMCRjdGwwMCRjcGhDb250ZW50JGNwaERvYyRFbnRyeUVkaXRvcjEkY2JTZWxmUmVjb21tZW5kq6kSpkgbANgz2f1DE51eGz6Z7ZY=" />
</div>
 

<div><input type="hidden" name="__EVENTVALIDATION"
	id="__EVENTVALIDATION"
	value="/wEWHQKvzYKUBQKggpaRDAK596M/At/LuMwFAq6Wiz0Cp7Kk7QcCprKk7QcChdyM4gICx83egAYC24mOowEC1rqRhA4C4by28woC7ZqIrAICt6i96gMCraiN6gMCraiJ6gMCrKiJ6gMCuKix6gMCrKiV6gMCq6i96gMCq6iF6gMCrKiB6gMCq6iJ6gMCq6jR6QMCrKiN6gMCoMfbhw8CoMfbhw8C0byM8Q8Cg77dzAgU2yioCHs3vicuQCv7yQk9pPxYJg==" />
</div>

<div id="wrap">
<div id="body">
<div id="toppanel">


<div id="location" class="userlocation"><a
	href='http://hi.csdn.net/ph9527/'> <img
	src='http://avatar.csdn.net/p/ph9527/3' alt='ph9527' class="avatar" /></a>
<h3>博客管理</h3>

<span><a href="PostList.aspx">文章管理</a> &#92; 写文章<a
	style="float: right; color: Red"
	href="http://blog.csdn.net/blogdevteam/archive/2009/09/04/4519285.aspx"
	target="_blank">如何使用客户端写博客？</a></span></div>


<hr class="hide" />




</div>
<hr class="hide clear" />

<div id="blogcontent">

<div id="doc">


<fieldset><legend>写新文章</legend>
<dl>
	<dt>文章类型：</dt>
	<dd class="inputlist-flow"><span
		id="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_rblOri"><input
		id="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_rblOri_0" type="radio"
		name="ctl00$ctl00$cphContent$cphDoc$EntryEditor1$rblOri" value="ori"
		checked="checked" /><label
		for="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_rblOri_0">原创</label><input
		id="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_rblOri_1" type="radio"
		name="ctl00$ctl00$cphContent$cphDoc$EntryEditor1$rblOri" value="copy" /><label
		for="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_rblOri_1">转贴</label><input
		id="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_rblOri_2" type="radio"
		name="ctl00$ctl00$cphContent$cphDoc$EntryEditor1$rblOri" value="tran" /><label
		for="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_rblOri_2">翻译</label></span></dd>
	<dt>文章分类：<span class="right">[&nbsp;<a
		id="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_hlEditCategories"
		href="EditCategories.aspx?catID=1">管理分类…</a>&nbsp;]</span></dt>
	<dd class="inputlist-flow"><span
		id="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_CategoryList"><input
		id="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_CategoryList_0"
		type="checkbox"
		name="ctl00$ctl00$cphContent$cphDoc$EntryEditor1$CategoryList$0" /><label
		for="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_CategoryList_0">J2EE项目乱码问题</label><input
		id="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_CategoryList_1"
		type="checkbox"
		name="ctl00$ctl00$cphContent$cphDoc$EntryEditor1$CategoryList$1" /><label
		for="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_CategoryList_1">maven配置</label></span>
	</dd>
	<dt style="display: none;">Tag：</dt>

	<dd style="display: none;"><input
		name="ctl00$ctl00$cphContent$cphDoc$EntryEditor1$txbTags" type="text"
		maxlength="200"
		id="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_txbTags"
		class="textbox" /></dd>
	<dt>文章标题： <span
		id="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_valTitleRequired"
		style="color: Red; display: none;">必须输入标题</span></dt>
	<dd><input
		name="article.title" type="text"
		maxlength="200"
		id="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_txbTitle" tabindex="1"
		class="textbox" /></dd>

	<dt>文章正文： <span class="autosaveinfo" id="autosaveinfo">正文已于<em
		class="created"></em>自动保存。</span><span class="autosaveinfo"><a
		onclick="OpenAutosaveWin()">暂存箱</a><a onclick="AddAutosave()">保存</a></span></dt>
	<dd>
<!--	<textarea style="display: none;" id="shadowEditor"-->
<!--		name="shadowEditor">222222222222222222222</textarea> -->
		<textarea
		name="article.description"
		rows="2" cols="20"
		id="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_richTextEditor"
		class="mceEditor" style="height: 450px; width: 100%;"></textarea></dd>

	<dt>图片上传功能暂时关闭，敬请谅解。</dt>
	<dt style="display: none">图片上传：</dt>
	<dd style="display: none"><iframe
		id="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_Upload_IFrame"
		width="100%" height="50px" frameborder="0" scrolling="no"
		src="/Utility/UploadImages.aspx?id=5189392"
		name="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_Upload_IFrame"></iframe>
	<div style="color: Red;">注：单个图片文件不能超过 2M，且必须是有效的图片格式(gif, jpg,
	png)。</div>
	</dd>

	<div class="submit" style="display: none"><input type="button"
		name="ctl00$ctl00$cphContent$cphDoc$EntryEditor1$Upload_Button"
		value="上传图片"
		id="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_Upload_Button"
		class="defaultbutton" /></div>
	<dt>文章摘要：</dt>
	<dd><textarea
		name="ctl00$ctl00$cphContent$cphDoc$EntryEditor1$txbExcerpt" rows="5"
		cols="20" id="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_txbExcerpt"
		class="textbox"></textarea></dd>
	  
	<dd class="recommend_index" style="display: none">
	<ul>
		<li class="title"><input
			name="ctl00$ctl00$cphContent$cphDoc$EntryEditor1$cbSelfRecommend"
			type="checkbox"
			id="ctl00_ctl00_cphContent_cphDoc_EntryEditor1_cbSelfRecommend"
			style="vertical-align: middle;" /> 推荐到首页</li>

		<li><input type="radio" style="vertical-align: middle;" value='1'
			name="ChannelId" disabled="disabled" /> 业界</li>


		<li><input type="radio" style="vertical-align: middle;" value='2'
			name="ChannelId" disabled="disabled" /> 开发技术</li>

		<li><input type="radio" style="vertical-align: middle;" value='3'
			name="ChannelId" disabled="disabled" /> 生活职场</li>

		<li><input type="radio" style="vertical-align: middle;" value='4'
			name="ChannelId" disabled="disabled" /> 产品工具</li>

	</ul>
	<p>本周你还有 <em>1</em> 次推荐机会！推荐的文章经审核后择优发布到博客首页；广告内容将被直接删除，请谨慎使用！<span><a
		class="red"
		href="http://blog.csdn.net/blogdevteam/archive/2010/01/07/5151993.aspx"
		target="_blank">推荐规则</a></span></p>
	</dd>
	 

</dl>
<hr class="hide" />
<div class="submit clear"> 
	<input type="submit" name="ctl00$ctl00$cphContent$cphDoc$EntryEditor1$SaveButton" value="发表文章" class="defaultbutton" /> 
<!--	<input type="submit" name="ctl00$ctl00$cphContent$cphDoc$EntryEditor1$SaveToDraftButton" value="另存为草稿" class="button" /> -->
	<input type="button" class="button" onclick="javascript:Back()" value="取消" />
</div>
  
<div id="autosave">
<dl>
	<dt><span> <img src="images/close.gif"
		onclick="CloseAutosaveWin()"></span><em>暂存箱</em> 暂存的内容每隔30秒更新一次</dt>
	<dd class="cont">保存时间：<em class="created"></em><br />
	<textarea readonly></textarea>
	<div class="conts" id="autosaveText"></div>

	注：暂存的内容只能恢复到当前文章的编辑器中，如需恢复到其他文章中，请编辑该文章并从暂存箱中恢复；或者直接复制以上内容，手工恢复到相关文章。</dd>
	<dd class="btnbg"><input class="defaultbutton" type="button"
		value="恢复到编辑器" name="Button" onclick="RecoverAutosave()" /> <input
		class="defaultbutton" type="button" value="取消" name="Button"
		onclick="CloseAutosaveWin()" /></dd>
</dl>
</div>


</div>

</div>
</div>
</div>
 </form>
 
</body>
</html>
